package com.world.business.treasure.domain.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * <p>
 * 灵兽/灵植
 * </p>
 *
 * @author 邓驴
 * @since 2023-07-31
 */
@Data
public class TreasureUpdateRequest {

    @NotNull(message = "Id必填")
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("种族Id")
    private Long raceId;

    @ApiModelProperty("所有者")
    private Long owner;

    @ApiModelProperty("稀有程度")
    private String rarity;

    @ApiModelProperty("出生时间")
    private LocalDateTime birthday;

    @ApiModelProperty("死亡时间")
    private LocalDateTime dieathday;

    @ApiModelProperty("状态(1正常 0删除)")
    private String status;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("来源")
    private String source;

}
